/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.rw.magallanes.utilities;

import javax.swing.JOptionPane;

/**
 *
 * @author Gonzalez
 */
public enum MessageType {

    PLAIN(JOptionPane.PLAIN_MESSAGE, "Mensaje"),
    INFO(JOptionPane.INFORMATION_MESSAGE, "Informacion"),
    WARN(JOptionPane.WARNING_MESSAGE, "Aviso"),
    ERROR(JOptionPane.ERROR_MESSAGE, "Error");
    int optionType;
    String title;

    MessageType(int optionType, String title) {
        this.optionType = optionType;
        this.title = title;
    }

    public int getOptionType() {
        return optionType;
    }

    public String getTitle() {
        return title;
    }
}
